package com.tyt.travel.dto.scenery;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotEmpty;

/**
 * @author pedro@TaleLin
 * @author Juzi@TaleLin
 */
@Data
public class CreateOrUpdateSceneryDTO {

    private String sceneryName;

    @Length(max = 1000, message = "{book.summary.length}")
    private String desc;

    private MultipartFile[] sceneryImg;

    private MultipartFile sceneryVideo;
}
